<?php

if (isset($_REQUEST['action'])){
    switch ($_REQUEST['action']) {
        case 'logout':
            $user_obj = new user_obj();
            $user_obj->logout();
            header("Location: " . ROOT);
            exit;
            break;
    }
}

?>
